package com.group2.bankonline.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

/**
 * <p>
 *银行个人信息表
 * </p>
 *
 * @author syf
 * @since 2024-07-11
 */
@Data
@TableName("personinfo")
public class Personinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String realname;

    private String birthday;

    private String sex;

    private String cardId;

    private String address;

    private String telephone;

    private String mail;

    @Override
    public String toString() {
        return "Personinfo{" +
            "id = " + id +
            ", realname = " + realname +
            ", birthday = " + birthday +
            ", sex = " + sex +
            ", cardId = " + cardId +
            ", address = " + address +
            ", telephone = " + telephone +
            ", mail = " + mail +
        "}";
    }
}
